home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Publishing / ImagePortfolio / Source / ImagePortfolio.h < prev    next >
Text File  |  1994-04-01  |  2KB  |  54 lines

  1. // -------------------------------------------------------------------------------------
  2. // ImagePortfolio.h
  3. // -------------------------------------------------------------------------------------
  4. #import <appkit/Application.h>
  5. #import "objectThreadPerform.h"
  6. #import "FileUtils.h"
  7.  
  8. // -------------------------------------------------------------------------------------
  9. #define    docEXTENSION        "portfolio"
  10. #define    dotDocEXTENSION        "." docEXTENSION
  11. #define    listALLOC(N)        [[[List alloc] initCount:N] empty]
  12.  
  13. // -------------------------------------------------------------------------------------
  14. @interface ImagePortfolio : Application
  15. {
  16.  
  17.     // application specific vars
  18.     char                *lastPath;                // last saved/openned file path
  19.  
  20.     // info panel version number text field
  21.     id                versionNum;                // version number
  22.  
  23.     // panels
  24.     id                infoPanel;                // info panel
  25.     id                helpPanel;                // help panel
  26.     id                prefPanel;                // preferences panel
  27.   
  28.     // font outlets var ids
  29.     id                fontName;                // preference: font name
  30.     id                fontSize;                // preference: font point size
  31.     id                prefCellWidth;            // preference: cell width
  32.     id                prefCellHeight;            // preference: cell height
  33.     id                prefCellRows;            // preference: cell matrix rows
  34.     id                prefCellColumns;        // preference: cell matrix columns
  35.  
  36.     // real appIcon local window number
  37.     int                appIconWinNum;            // local(global([appIcon windowNum]))
  38.     
  39. }
  40.   
  41. // -------------------------------------------------------------------------------------
  42. - setLastPathNoCopy:(char*)path;
  43. - setLastPath:(char*)path;
  44. - (const char*)lastPath;
  45.  
  46. /* special event handler */
  47. - dispatchEvents;
  48.  
  49. /* button/menu actions */
  50. - showPreferences:sender;
  51. - printKeyWindow:sender;
  52.  
  53. @end
  54.